﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Common.ControlDevice
{
    public class StationToFilePath : INotifyPropertyChanged
    {
        public uint StationID = 0;

        private string stationName = String.Empty;
        public string StationName
        {
            get { return stationName; }
            set
            {
                stationName = value;
                OnNotifyPropertyChanged("StationName");
            }
        }
        //联锁表路径
        private string interLockExcelFilePath = String.Empty;
        public string InterLockExcelFilePath
        {
            get { return interLockExcelFilePath; }
            set
            {
                interLockExcelFilePath = value;
                OnNotifyPropertyChanged("InterLockExcelFilePath");
            }
        }
        //对照表路径
        private string contraskExcelFilePath = String.Empty;
        public string ContraskExcelFilePath
        {
            get { return contraskExcelFilePath; }
            set
            {
                contraskExcelFilePath = value;
                OnNotifyPropertyChanged("ContraskExcelFilePath");
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;
        protected void OnNotifyPropertyChanged(string propertyName)
        {
            if (null != PropertyChanged)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
    }

}
